/*
 * @Author: error: error: git config user.name & please set dead value or install git && error: git config user.email & please set dead value or install git & please set dead value or install git
 * @Date: 2024-01-31 10:55:41
 * @LastEditors: error: error: git config user.name & please set dead value or install git && error: git config user.email & please set dead value or install git & please set dead value or install git
 * @LastEditTime: 2024-01-31 14:34:59
 * @FilePath: \ZHGD-Vue2\src\api\bitumenMixingStation\gradingSetting\gradingType.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import request from '@/utils/request'

// 列表查询
export function asphaltMatchType(query) {
    return request({
        url: '/zhgd/asphaltMatchType/page',
        method: 'get',
        params: query
    })
}

// 详情
export function asphaltMatchLook(id) {
    return request({
        url: '/zhgd/asphaltMatchType/' + id,
        method: 'get'
    })
}



// 新增
export function asphaltMatchTypeAdd(data) {
    return request({
        url: '/zhgd/asphaltMatchType',
        method: 'post',
        data: data
    })
}

// 修改
export function asphaltMatchTypeEdit(data) {
    return request({
        url: '/zhgd/asphaltMatchType',
        method: 'put',
        data: data
    })
}

// // 删除
export function asphaltMatchTypeRemove(ids) {
    return request({
        url: '/zhgd/asphaltMatchType/' + ids,
        method: 'delete'
    })
}